import React,{ Component } from 'react';
import { connect } from 'react-redux'
import HeaderUI from './HeaderUI'


class Header extends Component {
  render () {
    return (
      <HeaderUI {...this.props}></HeaderUI>
    )
  }
}

const mapStateToProps = ({ HeaderReducer }) => {
  return {
    title: HeaderReducer.title
  }
}

const mapDispatchToProps = () => {
  return {

  }
}


export default connect(mapStateToProps,mapDispatchToProps)(Header);
